package Entity;

import java.io.Serializable;

public class Customer implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String CustomerID;
	private String City;
	private int Age;
	private int PurchaseCounter;
	private String firstName;
	private String lastName;
	private int Priority;
	private String PhoneNumber;

	public Customer(String firstName, String lastName,  int Age, String City, String CustomerID,String PhoneNumber)
	{
		setCfirstName(firstName);
		setClastName(lastName);
		setAge(Age);
		setCity(City);
		setCustomerID(CustomerID);
		setPhoneNumber(PhoneNumber);	
	}

	public Customer() {
		// TODO Auto-generated constructor stub
	}

	public String getCustomerID()
	{
		return this.CustomerID;
	}
	public int getPurchaseCounter()
	{
		return this.PurchaseCounter;
	}
	public int getAge()
	{
		return this.Age;
	}
	public String getFirstName()
	{
		return this.firstName;
	}
	public String getLastName()
	{
		return this.lastName;
	}

	public String getCity()
	{
		return this.City;
	}
	public int getPriority()
	{
		return this.Priority;
	}

	public String getPhoneNumber()
	{
		return this.PhoneNumber;
	}

	public void setPriority()
	{
		this.Priority=0;
	}
	public void setCustomerID(String CustomerID)
	{
		this.CustomerID=CustomerID;
	}
	public void setCfirstName( String firstName)
	{
		this.firstName=firstName;
	}  
	public void setClastName( String lastName)
	{
		this.lastName=lastName;
	}  
	public void setPurchaseCounter( int PurchaseCounter)
	{
		this.PurchaseCounter=0;
	}  
	public void setCity( String City)
	{
		this.City=City;
	}  
	public void setAge( int Age)
	{
		this.Age=Age;
	} 
	public void setPhoneNumber( String PhoneNumber)
	{
		this.PhoneNumber=PhoneNumber;
	} 
}
